package com.translate.web.param;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.IOrderApprovalPicAddParam;


public class OrderApprovalPicAddParam implements IOrderApprovalPicAddParam {// 回款审批id
//@NotNull
//@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
//private Integer approvalId;
// 订单id
//@NotNull
//@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
//private Integer receivablesId;
// 图片备注
	@NotNull
	@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
	private String pic;

//public Integer getApprovalId() {
//        return approvalId;
//    }
//public void setApprovalId(Integer approvalId) {
//        this.approvalId = approvalId;
//    }
//public Integer getReceivablesId() {
//        return receivablesId;
//    }
//public void setReceivablesId(Integer receivablesId) {
//        this.receivablesId = receivablesId;
//    }
	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic == null ? null : pic.trim();
	}
}